The enumeration of permutations sortable by pop stacks in parallel
نویسندگان
چکیده
A stack is a last-in first-out sorting device with push and pop operations. Knuth [7] showed that a permutation π can be sorted (meaning that by applying push and pop operations to the sequence of entries π(1), . . . , π(n) we can output the sequence 1, . . . , n) if and only if π avoids the permutation 231, i.e., if and only if there do not exist three indices 1 ≤ i1 < i2 < i3 ≤ n such that π(i1), π(i2), π(i3) are in the same relative order as 231. Shortly thereafter Tarjan [10], Even and Itai [5], and Pratt [9] studied networks which have multiple stacks either in series or in parallel. The questions typically studied for such networks include:
منابع مشابه
Sorting Permutations on Two Parallel Stacks
We give a new combinatorial proof, based on stack graphs, for the characterization by forbidden subsequences of the permutations which are sortable on two parallel stacks. Some remarks about the permutations sortable on parallel queues are also made.
متن کاملMethods of computing deque sortable permutations given complete and incomplete information
The problem of determining which permutations can be sorted using certain switchyard networks is a venerable problem in computer science dating back to Knuth in 1968. In this work, we are interested in permutations which are sortable on a double-ended queue (called a deque), or on two parallel stacks. In 1982, Rosenstiehl and Tarjan presented an O (n) algorithm for testing whether a given permu...
متن کاملEnumerating permutations sortable by k passes through a pop-stack
In an exercise in the first volume of his famous series of books, Knuth considered sorting permutations by passing them through a stack. Many variations of this exercise have since been considered, including allowing multiple passes through the stack and using different data structures. We are concerned with a variation using pop-stacks that was introduced byAvis andNewborn in 1981. Let Pk(x) b...
متن کاملA Stack and a Pop Stack in Series
We study sorting machines consisting of a stack and a pop stack in series, with or without a queue between them. While there are, a priori, four such machines, only two are essentially different: a pop stack followed directly by a stack, and a pop stack followed by a queue and then by a stack. In the former case, we obtain complete answers for the basis and enumeration of the sortable permutati...
متن کاملA stack and pop stack in series
We study sorting machines consisting of a stack and a pop stack in series, with or without a queue between them. While there are, a priori, four such machines, only two are essentially different: a pop stack followed directly by a stack, and a pop stack followed by a queue and then by a stack. In the former case, we obtain complete answers for the basis and enumeration of the sortable permutati...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Inf. Process. Lett.
دوره 109 شماره
صفحات -
تاریخ انتشار 2009